/*
 * @Description:虚拟档案室
 * @Author: Zzt
 * @Date: 2022-12-26 17:12:24
 * @LastEditTime: 2022-12-31 17:26:15
 */
/*  */
import { lazy } from 'react';
import Layout from '@/layout';
import lazyLoad from '../components/lazyLoad';
import { AppstoreOutlined } from '@ant-design/icons';
export const FictitiousGuidance = lazy(
  () =>
    import(
      /* webpackChunkName: "Accession" */ '@/view/virtualArchives/FictitiousGuidance/FictitiousGuidance'
    )
);
export const FictitiousFeedback = lazy(
  () =>
    import(
      /* webpackChunkName: "Accession" */ '@/view/virtualArchives/FictitiousFeedback/FictitiousFeedback'
    )
);
export const FictitiousInspection = lazy(
  () =>
    import(
      /* webpackChunkName: "Accession" */ '@/view/virtualArchives/FictitiousInspection/FictitiousInspection'
    )
);
const virtualArchives: any[] = [
  {
    path: '/virtual-archives',
    element: <Layout />,
    icon: <AppstoreOutlined />,
    meta: {
      title: '虚拟档案室'
    },
    children: [
      {
        path: 'business-guidance',
        element: lazyLoad(FictitiousGuidance),
        meta: {
          title: '在线业务指导'
        }
      },
      {
        path: 'written-feedback',
        element: lazyLoad(FictitiousFeedback),
        meta: {
          title: '书面反馈'
        }
      },
      {
        path: 'annual-inspection-review',
        element: lazyLoad(FictitiousInspection),
        meta: {
          title: '年检审核'
        }
      }
    ]
  }
];
export default virtualArchives;
